-- GENERATED SPELL FOR [Risen Spirit] --


function spell0_23554(pUnit, Event) --@Intangible Presence,n/a--
pUnit:FullCastSpellOnTarget(43127,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23554', 6317, 1)
end

function Sorts_23554(pUnit, Event)
local choix_sorts_23554 = math.random(0, 0)
if choix_sorts_23554 == 0 then
pUnit:RegisterEvent('spell0_23554', 1, 1)
end
end

function mob23554_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23554', math.random(1500, 3000), 1)
end

function mob23554_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23554_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23554_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23554, 1, 'mob23554_Action')
RegisterUnitEvent(23554, 2, 'mob23554_Leave')
RegisterUnitEvent(23554, 3, 'mob23554_Kill')
RegisterUnitEvent(23554, 4, 'mob23554_Die')
